<template>
  <div id="app">
    
    <mainContainer></mainContainer>
    <allPanel></allPanel>
  </div>
</template>

<script>
import Hello from './components/Hello'
import tools from './server/tools'
import startcy from './server/startcy'
import Config from './server/config'
import leftList from './components/leftList'
import eventBus from './eventBus'
import mainContainer from './components/mainContainer'
import allPanel from './components/allPanel/index'
export default {
  name: 'app',
  mounted () {
    var self = this
    var width = tools.getPageWidth()
    
    function start () {
      
      setTimeout ({

      }, 1000)
    }
    startcy.start()
    Config.topVue = this
    eventBus.bus.$on("message", function (text) {
      self.$message(text)
    })
  },
  components: {
    Hello,
    leftList,
    mainContainer,
    allPanel
  }
}
</script>

<style>
#app {
  height: 100%;
  width: 100%;
  min-width: 1000px;
  min-height: 1000px;
  position: absolute;
  left: 0;
  background: #fff;
  overflow: hidden;
  top: 0;
}

#eat {
  position: absolute;
  left: 1em;
  top: 1em;
  font-size: 1em;
  z-index: -1;
  color: #c88;
}

.elBg {
  background: red;
  height:100;
  color:red
}
</style>
